package com.daigoudao.web.model;

/**
 * 用户地址信息
 * 
 * @author zheng
 * 
 */
public class UserAddrModel {

	private int userId;

	private int addrId;

	private String address;
	
	private String street;

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	// 省
	private String province;

	// 市
	private String city;

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	private String postcode;

	private String person;

	private String phone;

	/**
	 * 是否为默认地址：1 默认
	 */
	private int defaultAddr;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getAddrId() {
		return addrId;
	}

	public void setAddrId(int addrId) {
		this.addrId = addrId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		this.person = person;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getDefaultAddr() {
		return defaultAddr;
	}

	public void setDefaultAddr(int defaultAddr) {
		this.defaultAddr = defaultAddr;
	}

	public String getMailTo() {
		return address + " (" + person + " 收)" + " " + phone;
	}
	
	
}
